/*
 * Copyright 2018 JDCLOUD.COM
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *    http:#www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * 
 * 
 *
 * 
 * Contact: 
 *
 * NOTE: This class is auto generated by the jdcloud code generator program.
 */


using System;
using System.Collections.Generic;
using System.Text;

using JDCloudSDK.Core.Annotation;

namespace JDCloudSDK.Iotcloudgateway.Model
{

    /// <summary>
    ///  instanceConfig
    /// </summary>
    public class InstanceConfig
    {

        ///<summary>
        /// 服务id
        ///Required:true
        ///</summary>
        [Required]
        public string ServiceId{ get; set; }
        ///<summary>
        /// 产品key
        ///Required:true
        ///</summary>
        [Required]
        public string ProductKey{ get; set; }
        ///<summary>
        /// 产品secret
        ///Required:true
        ///</summary>
        [Required]
        public string ProductSecret{ get; set; }
        ///<summary>
        /// 支持协议(jt808,gbt32960)
        ///Required:true
        ///</summary>
        [Required]
        public string Protocol{ get; set; }
        ///<summary>
        /// hub mqtt地址
        ///Required:true
        ///</summary>
        [Required]
        public string MqttAddr{ get; set; }
        ///<summary>
        /// hub http地址
        ///Required:true
        ///</summary>
        [Required]
        public string HttpAddr{ get; set; }
        ///<summary>
        /// redis地址
        ///Required:true
        ///</summary>
        [Required]
        public string RedisAddr{ get; set; }
        ///<summary>
        /// 本地多媒体存放路径
        ///Required:true
        ///</summary>
        [Required]
        public string MediaStore{ get; set; }
        ///<summary>
        /// 网关设备ID
        ///Required:true
        ///</summary>
        [Required]
        public string GwdevId{ get; set; }
        ///<summary>
        /// 关联的OSS配置
        ///</summary>
        public OssSpec OssSpec{ get; set; }
        ///<summary>
        /// 关联的DW认证配置
        ///</summary>
        public DwAuthSpec DwAuthSpec{ get; set; }
    }
}
